import java.util.Scanner;

public class Test02 {
    public static void main(String[]args){
        String s;
        Scanner reader=new Scanner(System.in);
        System.out.print("请输入字符");
        s=reader.next();
        int i;
        for(i=0;i<=s.length();i++) {
            if()

        }

    }
}